home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 1998 October / PCpro_1998_10.ISO / internet / layout / htmltool.exe / _SETUP.1 / Entering Confirmation.scp < prev    next >
Encoding:
Text File  |  1998-04-12  |  431 b   |  14 lines

  1. <HTMLtool>Asks the visitor whether to enter the page or to stay out</HTMLtool>
  2. <!-- This script allows the user confirm entering the page -->
  3. <SCRIPT LANGUAGE="JavaScript">
  4. <!--
  5. function Info()
  6. {
  7.   if (!confirm("You are about to enter a site of extreme coolness. Press <OK> to enter. Press <Cancel> if you want to go to somewhere less exciting."))
  8.   history.go(-1);return " "
  9. }
  10.  
  11. document.writeln(Info())
  12. -->
  13. </SCRIPT>
  14.